<?php

namespace CMBUBank\UBank\Request\Account;

use CMBUBank\UBank\Request\UBankBaseRequest;
use CMBUBank\UBank\Response\Account\AccountHandleAccountInfoResponse;

class AccountHandleAccountInfoRequest extends UBankBaseRequest
{
    protected $code = 'NTQACINF';

    protected $response = AccountHandleAccountInfoResponse::class;

    protected $logTip = '账户详细信息查询';

    private $backNo;

    private $account;

    public function generate(): array
    {
        return [
            'ntqacinfx' => [
                'bbknbr' => $this->backNo,
                'accnbr' => $this->account,
            ],

        ];
    }

    public function setBackNo($backNo): void
    {
        $this->backNo = $backNo;
    }

    public function setAccount($account): void
    {
        $this->account = $account;
    }
}